/*********************************************
This file is part of HIM.

HIM is a module of BCI++ framowork for the implementation of Brain Computer Interface systems.
HIM is intended for use with BCI++ only.

BCI++ is a project of the Sensibilab of Politecnico Di Milano

HIM is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as 
published by the Free Software Foundation, either version 3 of 
the License, or (at your option) any later version.

HIM is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License
and the GNU Lesser General Public License along with HIM.  
If not, see <http://www.gnu.org/licenses/>.
*************************************************************/

#pragma once

#include "BCIStructs.h"

class FeedsBase
{
public:
	FeedsBase(void);
	~FeedsBase(void);
	virtual void SetClassification(int Class){};
	virtual void SetTrigger(int Man,int AEnima, int HW){};
	virtual void SetFeedback(float Feed[]){};
	
	virtual void Destr(){};
	virtual bool IsShown(){return true;};
	virtual bool Hide(){return true;};
	virtual bool Show(bool show = true){return true;};
	void SetPtrText(wxStaticText *p_r1c1, wxStaticText	*p_r1c2, wxStaticText *p_r2c1, wxStaticText *p_r2c2, wxStaticText *p_r3c1, wxStaticText	*p_r3c2,wxStaticText *p_r4c1, wxStaticText *p_r4c2, wxStaticText *p_r5c1, wxStaticText *p_r5c2)
	{
		r1c1 = p_r1c1;
		r1c2 = p_r1c2;
		r2c1 = p_r2c1;
		r2c2 = p_r2c2;
		r3c1 = p_r3c1;
		r3c2 = p_r3c2;
		r4c1 = p_r4c1;
		r4c2 = p_r4c2;
		r5c1 = p_r5c1;
		r5c2 = p_r5c2;
	};

	void SetAlgoStats(Algostats	AlgoPerf){Stats = AlgoPerf;};
public:
	Algostats		Stats;
	wxStaticText	*r1c1;
	wxStaticText	*r1c2;
	wxStaticText	*r2c1;
	wxStaticText	*r2c2;
	wxStaticText	*r3c1;
	wxStaticText	*r3c2;
	wxStaticText	*r4c1;
	wxStaticText	*r4c2;
	wxStaticText	*r5c1;
	wxStaticText	*r5c2;
};

